package com.aaa.three.mapper;

import com.aaa.three.entity.AddReg;
import com.aaa.three.entity.Doctor;
import com.aaa.three.entity.Registered;
import com.aaa.three.pojo.query.ResultQuery;

import java.util.List;

/**
 * @Author:lyq
 * @Date:2022/2/2411:22
 */
public interface ResultMapper {

    Registered getrecords(Integer id);

    AddReg querySchedule(Integer id);

    Integer deleteRegistered(Integer id);

    Integer updateUpSchedule(AddReg deleteResult);

    Integer updateDownSchedule(AddReg deleteResult);

    List<ResultQuery> queryRegister(Doctor doctor);

    Integer sumAll(Doctor doctor);

}
